package org.cnc.explain.configbean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * org.cnc.spring.explain.lifecycle.metaconfig - UserBean1Config
 *
 * @author tony-is-coding
 * @date 2022/6/29 14:33
 */
@Configuration
public class MetaConfigBeanConfig {
	@Bean
	public MetaConfigBean metaConfigBean() {
		MetaConfigBean ub = new MetaConfigBean();
		ub.setName("config from annotation");
		return ub;
	}

	public static void main(String[] args) {
		System.out.println("xxxx");
	}
}
